package cn.group01.git.service;

import cn.group01.git.common.ResponseResult;
import cn.group01.git.dto.SupplierPageDTO;
import cn.group01.git.entity.Supplier;
import org.springframework.web.multipart.MultipartFile;

/**
 * @description:
 * @author: 叶晓龙
 * @date: 2023/7/13 11:14
 **/
public interface SupplierService {
    ResponseResult supList();

    ResponseResult getList(SupplierPageDTO supplierPageDTO);

    ResponseResult addSupplier(Supplier supplier);

    Supplier getById(Integer supId);

    ResponseResult editSupplier(Supplier supplier);

    ResponseResult delete(Integer[] ids);

    ResponseResult batchAdd(MultipartFile file);
}
